package com.copd.dto;

import java.util.List;

public class LogCreateRequest {
    private Integer doctorId;
    private Integer patientId;
    private String operationType;
    private String ipAddress;
    private String deviceInfo;
    private List<OperationDetailItem> detailItems;

    // 内部类，表示操作详情条目
    public static class OperationDetailItem {
        private String tableName;
        private Integer recordId;
        private String operationDetail;  // JSON格式的变更内容

        public String getTableName() {
            return tableName;
        }

        public void setTableName(String tableName) {
            this.tableName = tableName;
        }

        public Integer getRecordId() {
            return recordId;
        }

        public void setRecordId(Integer recordId) {
            this.recordId = recordId;
        }

        public String getOperationDetail() {
            return operationDetail;
        }

        public void setOperationDetail(String operationDetail) {
            this.operationDetail = operationDetail;
        }
    }

    public Integer getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Integer doctorId) {
        this.doctorId = doctorId;
    }

    public Integer getPatientId() {
        return patientId;
    }

    public void setPatientId(Integer patientId) {
        this.patientId = patientId;
    }

    public String getOperationType() {
        return operationType;
    }

    public void setOperationType(String operationType) {
        this.operationType = operationType;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public String getDeviceInfo() {
        return deviceInfo;
    }

    public void setDeviceInfo(String deviceInfo) {
        this.deviceInfo = deviceInfo;
    }

    public List<OperationDetailItem> getDetailItems() {
        return detailItems;
    }

    public void setDetailItems(List<OperationDetailItem> detailItems) {
        this.detailItems = detailItems;
    }
} 